//ES5 类
/*function Person(name, age){
    this.name = name;
    this.age = age
}
let p = new Person("ES5",6);
/!*p={
    name: "ES5",
    age: 6
}*!/*/


//ES6 +
/*class Person{
    constructor(name,age) {
        this.name = name;
        this.age = age;
    }
}
let p2 = new Person("ES6+",7);
p2={
    name: "ES6+",
    age: 7
}*/
